Summary
CODESYS Automation Server Connector is an Add-on for the CODESYS Development System to synchronize projects on the CODESYS Automation Server and to configure CODESYS Edge Gateways.
The CODESYS Automation Server Connector uses server-supplied file names without sufficient path traversal checks. An unauthenticated remote attacker controlling a malicious Automation Server, or performing a man-in-the-middle attack on a trusted communication channel, can exploit this vulnerability to perform arbitrary file writes outside the intended working directory of the affected products. Successful exploitation requires execution of commands via the affected scripting interface and may allow subsequent arbitrary code execution with the privileges of the user running the CODESYS Development System.
Impact
Successful exploitation may allow an unauthenticated remote attacker to write attacker-controlled files to arbitrary locations on the engineering workstation. This may subsequently result in remote code execution with the privileges of the user running the CODESYS Development System.
Affected Product(s)
| Model no. | Product name | Affected versions |
|---|---|---|
| CODESYS Automation Server Connector | vers:generic/>=1.23.0.0|<1.40.0.0 |
Vulnerabilities
Expand / Collapse allThe CODESYS Automation Server Connector uses server-supplied file names without sufficient path traversal checks. An unauthenticated remote attacker controlling a malicious Automation Server and tricking a user to trust it, or performing a man-in-the-middle attack on a trusted communication channel, can exploit this vulnerability to write attacker-controlled files to arbitrary locations on the engineering workstation and subsequently achieve arbitrary code execution with user privileges.
Remediation
Update the following products to version 1.40.0.0.
* CODESYS Automation Server Connector
The CODESYS Development System and the products available as CODESYS add-ons can be downloaded and installed directly with the CODESYS Installer or be downloaded from the CODESYS Store. Alternatively, as well as for all other products, you will find further information on obtaining the software update in the CODESYS Update area https://www.codesys.com/download/.
Acknowledgments
CODESYS GmbH thanks the following parties for their efforts:
- CERT@VDE for coordination (see https://www.certvde.com )
- f0rw4rd aka Felix Eberstaller from Limes Security / QuellSec for reporting
Revision History
| Version | Date | Summary |
|---|---|---|
| 1.0.0 | 17.11.2026 11:00 | Initial revision. |